<h1>Zmień hasło</h1>
<?php echo form_open($this->uri->uri_string(), 'class="form-horizontal" autocomplete="off"'); ?>
    <div class="control-group<?php if (form_error('password_old')): ?> error<?php endif; ?>">
		<label for="password_old" class="control-label">Stare hasło</label>
		<div class="controls">
			<input type="password" id="password_old" name="password_old" value="" />
			<?php if (form_error('password_old')): ?><span class="help-inline"><?php echo form_error('password_old'); ?></span><?php endif; ?>
		</div>
    </div>

	<div class="control-group<?php if (form_error('password_new')): ?> error<?php endif; ?>">
		<label for="password_new" class="control-label">Nowe Hasło</label>
		<div class="controls">
			<input type="password" id="password_new" name="password_new" value="" />
			<?php if (form_error('password_new')): ?><span class="help-inline"><?php echo form_error('password_new'); ?></span><?php endif; ?>
		</div>
    </div>

	<div class="control-group<?php if (form_error('password_conf')): ?> error<?php endif; ?>">
		<label for="password_conf" class="control-label">Potwierdź nowe hasło</label>
		<div class="controls">
			<input type="password" id="password_conf" name="password_conf" value="" />
			<?php if (form_error('')): ?><span class="help-inline"><?php echo form_error('password_conf'); ?></span><?php endif; ?>
		</div>
    </div>

	<div class="control-group">
		<label for="password_submit" class="control-label">&nbsp;</label>
		<div class="controls">
			<input type="submit" class="btn" name="password_submit" id="submit" value="Zmień Hasło" />
		</div>
    </div>
<?php echo form_close(); ?>
